<!-- 自动弹窗 -->
<template>
  <div class="tkbox tkbox0 clmcenter">
    <div class="tkinfobox clmcenter">
      <img :src="src" class="c0img" />
      <img src="@/assets/img/close.png" class="close" @click="closeDialog" />
    </div>
  </div>
</template>
<script>
export default {
  props: ["src"],
  methods: {
    closeDialog() {
      this.$emit("closedialog");
      this.$store.commit("updateCnScenceCtrlShow", true);
      this.$store.commit("updateEnScenceCtrlShow", true);
    },
  },
};
</script>
<style lang="less" scoped>
.tkbox0 {
  background: none !important;
  .tkinfobox {
    position: relative;
    .c0img {
      width: 601px;
    }
    .close {
      margin-top: 3rem;
      width: 34px;
      height: 34px;
      cursor: pointer;
    }
  }
}
</style>
